package com.postgresql.dao;


import com.postgresql.dto.Poi;
import com.postgresql.dto.Test;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

/**
 * @author: 顾志杰
 */
public interface PoiDao extends JpaRepository<Poi, Integer>, JpaSpecificationExecutor<Poi> {
    @Query(value = "select gid,userid,name,geom from poi", nativeQuery = true)
    Test findTest();
}
